From: Sebastian Keller Date: Sun, 18 Nov 2012 01:01:00 +0000 (+0100) Subject: messageTray: don't accidentally shift the tray around in the overview X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5402 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d053d45a6dbd7eda26418b34a232536823c0d399;p=gnome-shell.git messageTray: don't accidentally shift the tray around in the overview https://bugzilla.gnome.org/show_bug.cgi?id=688422 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 161749027..8fbc0b232 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -2013,8 +2013,7 @@ const MessageTray = new Lang.Class({ let summaryPinned = this._pointerInTray || summarySummoned || this._locked; let summaryHovered = this._pointerInTray || this._pointerInSummary; - let notificationsVisible = (this._notificationState == State.SHOWING || - this._notificationState == State.SHOWN); + let notificationsVisible = this._notificationState != State.HIDDEN; let notificationsDone = !notificationsVisible && !notificationsPending; let summaryOptionalInOverview = this._overviewVisible && !this._locked && !summaryHovered;